# def assert01(r,b,c,d,e):
#     assert b == r.status_code
#     assert c == r.json()['success']
#     assert d == r.json()['code']
#     assert e in r.json()['message']


# def assert02(r,status_code,success,code,message):
#     assert status_code == r.status_code
#     assert success is True
#     assert code == r.json()['code']
#     assert message in r.json()['message']


# def assert01(r,status_code,success,code,message):
#     assert status_code == r.status_code
#     assert r.json()['success'] is success
#     assert code == r.json()['code']
#     assert message in r.json()['message']
# ------------------------------------------------------
def assert01(r,b,c,d,e):
    assert b ==r.status_code
    assert c == r.json()['success']
    assert d == r.json()['code']
    assert e in r.json()['message']